/*
            Author : Nguyen Van Ty
            Email  : ngvanty03@gmail.com
            Date   : 1/17/2011 
           
            */


using System;
using System.Collections.Generic;
using System.Text;


namespace BusinessObject
{
    /// <summary>
    /// This is DMXe object, it is object of BusinessObject table.
    /// </summary>
    public class DMXe
    {
        #region fields
        private int maXe;
        private string tenXe;
        private int chungXe;
        private Boolean isPublished;
        private int order;
        private string createdBy;
        private DateTime createdDate;
        private string lastUpdatedBy;
        private DateTime lastUpdatedDate;
        private Paging objPaging;

        private SortOrder objSortOrder;

        private string condition;

        private int toltalRow;


        #endregion fields

        #region constructor
        /// <summary>
        /// Define default constructor for DMXe Object
        /// </summary>
        public DMXe()
        {
            this.maXe = int.MinValue;
            this.tenXe = string.Empty;
            this.chungXe = int.MinValue;
            this.isPublished = true;
            this.order = int.MinValue;
            this.createdBy = string.Empty;
            this.createdDate = DateTime.MinValue;
            this.lastUpdatedBy = string.Empty;
            this.lastUpdatedDate = DateTime.MinValue; this.objPaging = new Paging();
            this.objSortOrder = new SortOrder();
            this.condition = string.Empty;
            this.toltalRow = 0;

        }
        #endregion constructor
        #region properties
        /// <summary>
        /// Define MaXe Property
        /// </summary>
        public int MaXe
        {
            get { return this.maXe; }
            set { this.maXe = value; }
        }
        /// <summary>
        /// Define TenXe Property
        /// </summary>
        public string TenXe
        {
            get { return this.tenXe; }
            set { this.tenXe = value; }
        }
        /// <summary>
        /// Define ChungXe Property
        /// </summary>
        public int ChungXe
        {
            get { return this.chungXe; }
            set { this.chungXe = value; }
        }
        /// <summary>
        /// Define IsPublished Property
        /// </summary>
        public Boolean IsPublished
        {
            get { return this.isPublished; }
            set { this.isPublished = value; }
        }
        /// <summary>
        /// Define Order Property
        /// </summary>
        public int Order
        {
            get { return this.order; }
            set { this.order = value; }
        }
        /// <summary>
        /// Define CreatedBy Property
        /// </summary>
        public string CreatedBy
        {
            get { return this.createdBy; }
            set { this.createdBy = value; }
        }
        /// <summary>
        /// Define CreatedDate Property
        /// </summary>
        public DateTime CreatedDate
        {
            get { return this.createdDate; }
            set { this.createdDate = value; }
        }
        /// <summary>
        /// Define LastUpdatedBy Property
        /// </summary>
        public string LastUpdatedBy
        {
            get { return this.lastUpdatedBy; }
            set { this.lastUpdatedBy = value; }
        }
        /// <summary>
        /// Define LastUpdatedDate Property
        /// </summary>
        public DateTime LastUpdatedDate
        {
            get { return this.lastUpdatedDate; }
            set { this.lastUpdatedDate = value; }
        }
        public Paging ObjectPaging
        {
            get { return this.objPaging; }
            set { this.objPaging = value; }
        }
        public SortOrder ObjectSortOrder
        {
            get { return this.objSortOrder; }
            set { this.objSortOrder = value; }
        }
        public string Condition
        {
            get { return this.condition; }
            set { this.condition = value; }
        }
        public int ToltalRow
        {
            get { return this.toltalRow; }
            set { this.toltalRow = value; }
        }

        #endregion properties
    }
}